import {createStore, combineReducers, applyMiddleware, compose} from 'redux'
import thunk from 'redux-thunk'
// import logger from 'redux-logger'
// import test from './reducers/testReducer'
// import music from './reducers/musicReducer'
import user from './user/role'
import article from './reducers/article'
import attend from './reducers/attend'

const combine = combineReducers({
  // test,
  // music,
  user,
  article,
  attend
})
const store = createStore(combine,compose(applyMiddleware(thunk)))

export default store